package com.ruoyi.core.mapper;

import com.ruoyi.core.domain.MaintenanceInfo;
import com.ruoyi.core.domain.custombean.MaintenanceInfoEntryResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaintenanceInfoMapper {

    MaintenanceInfo selectByKey(String key);

    int insert(MaintenanceInfo maintenanceInfo);

    int updateByKey(@Param("key") String key, @Param("value")String value);

    List<MaintenanceInfoEntryResult> selectByKeyLike(String key);
}
